package com.woniu51.k15demo.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @author 杨光
 * @date 2022年02月15日 17:23
 */
public class PermissionTree implements Serializable {
    private Long id;
    private String name;
    private String url;
    private List<PermissionTree> children;


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<PermissionTree> getChildren() {
        return children;
    }

    public void setChildren(List<PermissionTree> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "PermissionTree{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", children=" + children +
                '}';
    }
}
